<template>
<!--    <div>-->
<!--      <div ref="tu1"></div>-->
  <div class="tubiao" style="margin-left: 300px">
    <div ref="echartss" style="height: 500px;width: 500px"></div>
  </div>



<!--    </div>-->
</template>

<script>

import * as echarts from 'echarts'
export default {

  data(){
    return{
      data1:[{
        date:"星期一",
        num:"34"
      },
        {date:"星期一",
        num:"34"
  },
        {date:"星期一",
          num:"34"
        },
        {date:"星期一",
          num:"34"
        }
      ]

    }
  },
  mounted() {

    this.fun()
    const e1 = echarts.init(this.$refs.echartss)
    e1.setOption({
      title:{
        text:"helloword"
      },
      xAxis:{
          data:["ez","wx","non"]
      },
      tooltip:{

      },
      yAxis:{

      },
      series:{
        name:"大全",
        type:"bar",
        data:[6400,4800.200,600]
      }

    })



  },

  methods:{
    fun(){
      console.log(this.data1)
    }

  }

}
</script>

<style scoped>

</style>